/**
 * Copyright &copy; 2012-2016 <a href="https://www.kaaction.com">KAA</a> All rights reserved.
 */
package com.kaaction.modules.operate.entity;

import org.hibernate.validator.constraints.Length;

import com.kaaction.common.persistence.DataEntity;

/**
 * 活动/渠道关联Entity
 * @author zengbiao
 * @version 2017-04-12
 */
public class ActivityChannel extends DataEntity<ActivityChannel> {
	
	private static final long serialVersionUID = 1L;
	private String actvityId;		// actvity_id
	private String channelId;		// channel_id
	
	public ActivityChannel() {
		super();
	}

	public ActivityChannel(String id){
		super(id);
	}

	@Length(min=1, max=64, message="actvity_id长度必须介于 1 和 64 之间")
	public String getActvityId() {
		return actvityId;
	}

	public void setActvityId(String actvityId) {
		this.actvityId = actvityId;
	}
	
	@Length(min=1, max=64, message="channel_id长度必须介于 1 和 64 之间")
	public String getChannelId() {
		return channelId;
	}

	public void setChannelId(String channelId) {
		this.channelId = channelId;
	}
	
}